package com.example.springboot_manage.repository;

import com.example.springboot_manage.model.Account;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AccountRepository extends BaseRepository {

    public List<Account> findAll();
    Account findByUsername(String username);
    String findPassword(int id);
    int updatePassword(Map map);

    Account findByAdminId(Integer id);

}
